package com.xoa.model.attendance;


import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class AttendSchedule {
    /**
     * 主键
     */
    private Integer asid;

    /**
     * 班次名称
     */
    private String asname;

    /**
     * 开启状态
     */
    private Integer status;

    /**
     * 开启时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date openTime;

    /**
     * 排班开始日期
     */
    private String dateStart;

    /**
     * 排班结束日期
     */
    private String dateEnd;

    /**
     * 是否按年重复(0:否1:是)
     */
    private String yearRepeat;

    /**
     * 周一排班类型
     */
    private String mondayId;

    /**
     * 周二排班类型
     */
    private String tuesdayId;

    /**
     * 周三排班类型
     */
    private String wednesdayId;

    /**
     * 周四排班类型
     */
    private String thursdayId;

    /**
     * 周五排班类型
     */
    private String fridayId;

    /**
     * 周六排班类型
     */
    private String saturdayId;

    /**
     * 周日排班类型
     */
    private String sundayId;


    /**
     * 创建人Uid
     */
    private Integer uid;

    //关联set表中的主键id
    private Integer setId;

    public Integer getSetId() {
        return setId;
    }

    public void setSetId(Integer setId) {
        this.setId = setId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column attend_schedule.ASID
     *
     * @return the value of attend_schedule.ASID
     * @mbggenerated
     */
    public Integer getAsid() {
        return asid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column attend_schedule.ASID
     *
     * @param asid the value for attend_schedule.ASID
     * @mbggenerated
     */
    public void setAsid(Integer asid) {
        this.asid = asid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column attend_schedule.ASNAME
     *
     * @return the value of attend_schedule.ASNAME
     * @mbggenerated
     */
    public String getAsname() {
        return asname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column attend_schedule.ASNAME
     *
     * @param asname the value for attend_schedule.ASNAME
     * @mbggenerated
     */
    public void setAsname(String asname) {
        this.asname = asname == null ? null : asname.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column attend_schedule.STATUS
     *
     * @return the value of attend_schedule.STATUS
     * @mbggenerated
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column attend_schedule.STATUS
     *
     * @param status the value for attend_schedule.STATUS
     * @mbggenerated
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getOpenTime() {
        return openTime;
    }

    public void setOpenTime(Date openTime) {
        this.openTime = openTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column attend_schedule.DATE_START
     *
     * @return the value of attend_schedule.DATE_START
     * @mbggenerated
     */
    public String getDateStart() {
        return dateStart;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column attend_schedule.DATE_START
     *
     * @param dateStart the value for attend_schedule.DATE_START
     * @mbggenerated
     */
    public void setDateStart(String dateStart) {
        this.dateStart = dateStart;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column attend_schedule.DATE_END
     *
     * @return the value of attend_schedule.DATE_END
     * @mbggenerated
     */
    public String getDateEnd() {
        return dateEnd;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column attend_schedule.DATE_END
     *
     * @param dateEnd the value for attend_schedule.DATE_END
     * @mbggenerated
     */
    public void setDateEnd(String dateEnd) {
        this.dateEnd = dateEnd;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column attend_schedule.YEAR_REPEAT
     *
     * @return the value of attend_schedule.YEAR_REPEAT
     * @mbggenerated
     */
    public String getYearRepeat() {
        return yearRepeat;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column attend_schedule.YEAR_REPEAT
     *
     * @param yearRepeat the value for attend_schedule.YEAR_REPEAT
     * @mbggenerated
     */
    public void setYearRepeat(String yearRepeat) {
        this.yearRepeat = yearRepeat == null ? null : yearRepeat.trim();
    }


    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column attend_schedule.MONDAY_ID
     *
     * @return the value of attend_schedule.MONDAY_ID
     * @mbggenerated
     */
    public String getMondayId() {
        return mondayId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column attend_schedule.MONDAY_ID
     *
     * @param mondayId the value for attend_schedule.MONDAY_ID
     * @mbggenerated
     */
    public void setMondayId(String mondayId) {
        this.mondayId = mondayId == null ? null : mondayId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column attend_schedule.TUESDAY_ID
     *
     * @return the value of attend_schedule.TUESDAY_ID
     * @mbggenerated
     */
    public String getTuesdayId() {
        return tuesdayId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column attend_schedule.TUESDAY_ID
     *
     * @param tuesdayId the value for attend_schedule.TUESDAY_ID
     * @mbggenerated
     */
    public void setTuesdayId(String tuesdayId) {
        this.tuesdayId = tuesdayId == null ? null : tuesdayId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column attend_schedule.WEDNESDAY_ID
     *
     * @return the value of attend_schedule.WEDNESDAY_ID
     * @mbggenerated
     */
    public String getWednesdayId() {
        return wednesdayId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column attend_schedule.WEDNESDAY_ID
     *
     * @param wednesdayId the value for attend_schedule.WEDNESDAY_ID
     * @mbggenerated
     */
    public void setWednesdayId(String wednesdayId) {
        this.wednesdayId = wednesdayId == null ? null : wednesdayId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column attend_schedule.THURSDAY_ID
     *
     * @return the value of attend_schedule.THURSDAY_ID
     * @mbggenerated
     */
    public String getThursdayId() {
        return thursdayId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column attend_schedule.THURSDAY_ID
     *
     * @param thursdayId the value for attend_schedule.THURSDAY_ID
     * @mbggenerated
     */
    public void setThursdayId(String thursdayId) {
        this.thursdayId = thursdayId == null ? null : thursdayId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column attend_schedule.FRIDAY_ID
     *
     * @return the value of attend_schedule.FRIDAY_ID
     * @mbggenerated
     */
    public String getFridayId() {
        return fridayId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column attend_schedule.FRIDAY_ID
     *
     * @param fridayId the value for attend_schedule.FRIDAY_ID
     * @mbggenerated
     */
    public void setFridayId(String fridayId) {
        this.fridayId = fridayId == null ? null : fridayId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column attend_schedule.SATURDAY_ID
     *
     * @return the value of attend_schedule.SATURDAY_ID
     * @mbggenerated
     */
    public String getSaturdayId() {
        return saturdayId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column attend_schedule.SATURDAY_ID
     *
     * @param saturdayId the value for attend_schedule.SATURDAY_ID
     * @mbggenerated
     */
    public void setSaturdayId(String saturdayId) {
        this.saturdayId = saturdayId == null ? null : saturdayId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column attend_schedule.SUNDAY_ID
     *
     * @return the value of attend_schedule.SUNDAY_ID
     * @mbggenerated
     */
    public String getSundayId() {
        return sundayId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column attend_schedule.SUNDAY_ID
     *
     * @param sundayId the value for attend_schedule.SUNDAY_ID
     * @mbggenerated
     */
    public void setSundayId(String sundayId) {
        this.sundayId = sundayId == null ? null : sundayId.trim();
    }


    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column attend_schedule.UID
     *
     * @return the value of attend_schedule.UID
     * @mbggenerated
     */
    public Integer getUid() {
        return uid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column attend_schedule.UID
     *
     * @param uid the value for attend_schedule.UID
     * @mbggenerated
     */
    public void setUid(Integer uid) {
        this.uid = uid;
    }
}